import request from "@/utils/request";
export function createUeInstance(data) {
  return request({
    url: "/pixel/ueinstance/createInstance",
    method: "post",
    data,
  });
}
export function getUeInstance(data) {
  return request({
    url: "/pixel/ueinstance/getInstanceList",
    method: "post",
    data,
  });
}
export function getUeInstanceById(params) {
  return request({
    url: "/pixel/ueinstance/getInstanceById",
    method: "get",
    params,
  });
}
export function startUeInstance(data) {
  return request({
    url: "/pixel/ueinstance/startInstances",
    method: "post",
    data,
  });
}

export function stopUeInstance(data) {
  return request({
    url: "/pixel/ueinstance/stopInstances",
    method: "post",
    data,
  });
}

export function deleteUeInstance(data) {
  return request({
    url: "/pixel/ueinstance/deleteInstance",
    method: "post",
    data,
  });
}
export function closeClient(data) {
  return request({
    url: "/pixel/ueinstance/closeClient",
    method: "post",
    data,
  });
}
